package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbPersonMapper;
import com.dongdongshop.pojo.TbPerson;
import com.dongdongshop.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class PersonServiceImpl implements PersonService {

    @Autowired
    private TbPersonMapper tbPersonMapper;

    @Override
    public TbPerson selectByName(String username) {
        return tbPersonMapper.selectByName(username);
    }
}
